package com.blanche.test;

import rpc.annotatin.ServiceScan;
import rpc.serializer.CommonSerializer;
import rpc.transport.netty.server.NettyServer;
import rpc.serializer.ProtobufSerializer;

/**
 * 测试用Netty服务提供者（服务端）
 *
 * @Author wupeijie
 * @Date 2020/11/20 20:44
 */
@ServiceScan
public class NettyTestServer {
    public static void main(String[] args) {
        NettyServer server = new NettyServer("127.0.0.1", 9997, CommonSerializer.PROTOBUF_SERIALIZER);
        server.start();
    }
}
